
<div ng-controller="InterfaceListCtrl">
	<!-- header -->
	<div class="wrapper bg-light lter b-b">
		<div class="row">
			<div class="col-lg-3 col-md-5">
				<img width="250"
					ng-src="{{app.basePath+'images/'+displayProvider.icon}}"
					class="img-thumbnail" alt="Responsive image">
			</div>
			<div class="col-lg-8 col-md-7">
				<div class="row">
				<h3>{{displayProvider.providerName}} <a style="font-size: 14px;">{{displayProvider.code}}</a></h3>
				<h5><a target="_blank" href="{{displayProvider.homepage}}">{{displayProvider.homepage}}</a></h5>
				<p>{{displayProvider.remark}}</p>
				</div>
				<div class="row">
					<div class="btn-toolbar">
						<a ui-sref="app.interface.pathnew({provider:displayProvider.id})" class="btn m-b-xs w-xs btn-primary btn-rounded">添加接口</a>
						<a ui-sref="app.interface.keynew({provider:displayProvider.id})" class="btn m-b-xs w-xs btn-success btn-rounded">添加认证</a>
						<a class="btn m-b-xs w-xs btn-default btn-rounded disabled">删除</a>
					</div>
				</div>
			</div>
		</div>
	</div>
	<!-- / header -->

	

	<!-- list -->
	<ul class="list-group list-group-lg no-radius m-b-none m-t-n-xxs">
		<li ng-repeat="path in paths" class="list-group-item clearfix b-l-3x">
			   
		      <div class="pull-right text-sm text-muted">
		      	<div> <span class="hidden-xs">{{ path.createDate |date:'yyyy-MM-dd' }}</span></div>
		        <div><button ng-click="delete(path.id)" class="btn btn-default"><i class="fa icon-close"></i></button></div>
		        
		        
		      </div>
		      <div class="clear">
		        <div><a class="text-md">{{path.name}}</a><span class="label bg-light m-l-sm">{{path.code}}</span><i class="fa  fa-key ng-hide m-l-sm" ng-show="path.isValidate"></i></div>
		        <div><a class="text-md">{{path.host}}</a>{{path.url}}</div>
		        <div class="text-ellipsis m-t-xs"> {{path.remark}}</div>
		      </div> 
		</li>
		<li>
	</ul>
	<!-- / list -->
</div>